<!DOCTYPE html>
<!--
Copyright (c) 2015 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<link rel="import" href="/tracing/mre/function_handle.html">

<script>
'use strict';

tr.exportTo('pi.m', function() {

  function testMapFunction(result, model) {
    var someValue = 4; // Chosen by fair roll of the dice.
    result.addPair('simon', {value: someValue});
  }
  tr.mre.FunctionRegistry.register(testMapFunction);

  return {
    testMapFunction: testMapFunction
  };
});

</script>
